/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Lenovo
 * Date: 2025-08-02
 * Time: 23:06
 */
//实现哈希表代码, 使用哈希桶方式解决哈希冲突
public class Test {
    public static void main(String[] args) {
        HashArray hash=new HashArray();
        hash.put(1,101);
        hash.put(12,12012);
        hash.put(123,1230123);
        hash.put(33,33033);
        hash.put(77,77077);
        hash.put(6,606);
        hash.put(55,55055);
        hash.put(45,45045);
        hash.put(65,65065);
        System.out.println(hash.get(55));
    }
}
